package com.hibase.core.rule.constant;

public enum RuleDataSourceType {

    MYSQL("MYSQL","com.mysql.jdbc.Driver"),
    SQLSERVER("SQLSERVER","com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    ORACLE("ORACLE","oracle.jdbc.driver.OracleDriver");

    private String name;
    private String driverClassName;

    RuleDataSourceType(String name, String driverClassName) {
        this.name = name;
        this.driverClassName = driverClassName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }
}
